html,
body {
  padding: 0;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen,
    Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  color: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

* {
  box-sizing: border-box;
}

/* Glassmorphism 样式 */
.glass-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  padding: 20px;
  color: #fff;
}

.glass-input {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #fff !important;
  border-radius: 8px !important;
}

.glass-input:hover, .glass-input:focus {
  background: rgba(255, 255, 255, 0.2) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

.glass-button {
  background: rgba(255, 255, 255, 0.2) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  color: #fff !important;
  border-radius: 8px !important;
  transition: all 0.3s ease !important;
}

.glass-button:hover {
  background: rgba(255, 255, 255, 0.3) !important;
  transform: translateY(-2px);
}

.glass-title {
  color: #fff;
  font-weight: 600;
  margin-bottom: 20px;
  text-align: center;
}

.glass-footer {
  text-align: center;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
} 

.app-container {
  transition: background-color 0.3s, color 0.3s;
}

.dark-mode {
  background-color: #1f1f1f;
  color: #fff;
}

.glass-card {
  backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.dark-mode .glass-card {
  background-color: rgba(30, 30, 30, 0.8);
}

.glass-title {
  text-align: center;
  margin-bottom: 8px !important;
}

.glass-subtitle {
  text-align: center;
  margin-bottom: 24px !important;
}

.glass-input {
  border-radius: 8px;
}

.glass-button {
  border-radius: 8px;
  height: 48px;
  font-size: 16px;
}

.glass-footer {
  text-align: center;
  margin-top: 24px;
}

.theme-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
}

.action-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

.last-update-container {
  margin-top: 24px;
}

.app-container {
  transition: background-color 0.3s, color 0.3s;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.dark-mode {
  background-color: #1f1f1f;
  color: #fff;
}

.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.dark-mode .app-header {
  background-color: rgba(30, 30, 30, 0.8);
}

.logo {
  font-size: 18px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.app-content {
  flex: 1;
  max-width: 800px;
  margin: 40px auto;
  padding: 0 20px;
  width: 100%;
}

.glass-card {
  backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.dark-mode .glass-card {
  background-color: rgba(30, 30, 30, 0.8);
}

.card-header {
  text-align: center;
  margin-bottom: 24px;
}

.glass-title {
  margin-bottom: 8px !important;
}

.glass-subtitle {
  margin-bottom: 24px !important;
}

.glass-input {
  border-radius: 8px;
}

.glass-button {
  border-radius: 8px;
  height: 48px;
  font-size: 16px;
}

.app-footer {
  text-align: center;
  padding: 24px;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
}

.dark-mode .app-footer {
  background-color: rgba(30, 30, 30, 0.8);
}

.success-alert {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 1000;
  max-width: 400px;
}

.steps-form {
  margin-top: 24px;
}

.last-update-container {
  margin-top: 24px;
}

.history-actions {
  margin-top: 24px;
  display: flex;
  justify-content: flex-end;
}

.help-content, .settings-content {
  padding: 0 16px;
}

.help-content h3, .settings-content h3 {
  margin-top: 16px;
  margin-bottom: 16px;
}

.setting-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.about-content {
  text-align: center;
  padding: 0 16px;
}

.about-logo {
  margin-bottom: 24px;
}

.project-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
}

.qrcode-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px;
}